package org.apache.spark.examples.sql.model;

import org.apache.spark.api.java.function.Function2;

/**
 * Created by admin on 2019/3/21.
 */
public class Sum implements Function2<Integer,Integer,Integer> {
    @Override
    public Integer call(Integer integer, Integer integer2) throws Exception {
        return integer+integer2;
    }
}
